package com.xinsoft.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: π
 * 生产计划 ----对应金蝶的 生产任务单
 * */
@Data
public class ErpProductionFeedingDetailVO {
    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "主表ID")
    private Long headId;

    @ApiModelProperty(value = "主表Code")
    private String headCode;

    @ApiModelProperty(value = "产品ID")
    private Integer materialId;

    @ApiModelProperty(value = "产品Name")
    private String materialName;

    /**
     * 物料编码
     */
    private String materialNo;

    /**
     * 规格属性
     */
    private String materialSpecific;

    /**
     * 主单位Id
     */
    private Integer mainUnitId;

    /**
     * 主单位Name
     */
    private String mainUnitName;

    @ApiModelProperty(value = "批号")
    private String batchNo;
    //计划投料数量(主单位)
    @ApiModelProperty(value = "计划投料数量(主单位)")
    private BigDecimal planFeeding;
    //已出数量(主单位）
    @ApiModelProperty(value = "已出数量(主单位）")
    private BigDecimal outCount;
    //报废数量(主单位)
    @ApiModelProperty(value = "报废数量(主单位)")
    private BigDecimal scrapCount;
    //创建人
    @ApiModelProperty(value = "创建人")
    private Long createBy;
    //创建时间
    @ApiModelProperty(value = "创建时间", example = "2020-12-24 14:33:09")
    private Date createTime;
}
